{template 'member', 'header'}
<div id="memberArea">
{template 'member', 'left'}
<div class="col-auto">
<div class="col-1 ">
<h6 class="title">评价信息</h6>
<div class="content">
<form name="searchform" action="{APP_PATH}index.php?m=member&c=index&a=reviews&t=2" method="get" >
<input type="hidden" value="member" name="m">
<input type="hidden" value="index" name="c">
<input type="hidden" value="reviews" name="a">
		<div class="search">
		评价时间  {form::date('info[start_addtime]',$start_addtime)} 到   {form::date('info[end_addtime]',$end_addtime)}
		{form::select($trade_status,$status,'name="info[status]"', L('all_status'))}  
		<input type="submit" value="查询" class="button" name="dosubmit">
		</div>
</form>
<table width="100%" cellspacing="0"  class="table-list">
        <thead>
            <tr>
            <th width="5%">会员手机号</th>
            <th width="30%">评价内容</th>
            <th width="15%">评价时间</th>
            <th width="8%">评分</th>
<!--             <th width="8%">操作</th> -->
            </tr>
        </thead>
    <tbody>
	{loop $infos $info} 
	<tr>
	<? 
		$sj=$this->db->query("SELECT * FROM phpcms_member WHERE userid=".$info[user_id]);
		$sj=mysql_fetch_assoc($sj);
	?>
	<td width="5%" align="center">{$sj['mobile']}</td>
	<td width="30%" align="center">{$info['content']}</td>
	<td  width="15%" align="center">{date('Y-m-d H:i:s',$info['time'])}</td>
	<td width="8%" align="center">{$info['good']}星</td>
<!-- 	<td width="8%" align="center"></td> -->
	</tr>
	{/loop}
    </tbody>
    </table>

 <div id="pages"> {$pages}</div>
</div>
<span class="o1"></span><span class="o2"></span><span class="o3"></span><span class="o4"></span>
</div>

</div>
</div>
{template 'member', 'footer'}
